var requireDir = require('require-dir');
var gulp = require('gulp');
require('coffee-script/register');
requireDir('./submodules/gulp/tasks', { recurse: true });
gulp.task('kefu', function () {
    gulp.src([
        './submodules/kefu-webim/im.html',
        './submodules/kefu-webim/transfer.html',
        './app/kefu-home/kefu*.html',
        './submodules/kefu-webim/easemob.js'
    ]).pipe(gulp.dest('./www/webim/'));
    gulp.src('./submodules/kefu-webim/static/**').pipe(gulp.dest('./www/webim/static/'))
});